import axios from "axios"
export default class MaterialOutstorageModel{
  static outstorageModel = null;

  static getInstance(){
    if(this.outstorageModel==null){
      this.outstorageModel=new MaterialOutstorageModel();
    }
    return this.outstorageModel;
  }

  getOutstorageList(args){
    return axios.get("http://localhost/MaterialOutstorage",{params:args})
  }

  saveOutstorage(out,details){
    return axios.post("http://localhost/MaterialOutstorage",{"out":out,"details":details})
  }
}